package com.seka.control.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * 服务启动完成后执行此方法
 * @author mw
 *
 */
@Component
public class SakeRunner implements CommandLineRunner{

	
	@Autowired
	SekaControl sekaControl;
	
	@Override
	public void run(String... args) throws Exception {
		sekaControl.start();
	}

}
